package com.neu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neu.base.Result;
import com.neu.entity.FpFatherDemand;
import com.neu.entity.FpSecondDemand;
import com.neu.entity.Task;
import com.neu.entity.dto.DemandDTO;
import com.neu.service.Impl.FpSecondDemandServiceImpl;

import java.util.List;



public interface FpSecondDemandService extends IService<FpSecondDemand>{
    List<DemandDTO> listDemand();

    boolean addWithParent(DemandDTO demandDTO);

    List<Task> allForFp();
    //List<DemandDTO> listDemandByTaskId(String taskId);

    List<DemandDTO> listByTaskId(String taskid);

    Result cauclTotalUfp(String taskId);
}
